package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @classname FundDailyDetail
 * @description <br>账号流水明细表对应实体类</br>
 * @author  Rocky
 * @date    2019-10-31 17:24:19
 * @email   jintaozhao@qq.com
 * @version 1.0.0
 */
public class FundDailyDetail extends BaseEntity {
	private static final long serialVersionUID=1L;

	
	/**
	 * 广告主ID
	 */
	@Excel(name = "广告主ID")
	private Integer advertiserId;
	
	/**
	 * 流水类型
	 */
	@Excel(name = "流水类型")
	private String transactionType;
	
	/**
	 * 交易总金额
	 */
	@Excel(name = "交易总金额")
	private BigDecimal amount;
	
	/**
	 * 冻结总金额
	 */
	@Excel(name = "冻结总金额")
	private BigDecimal frozen;
	
	/**
	 * 现金总金额
	 */
	@Excel(name = "现金总金额")
	private BigDecimal cash;
	
	/**
	 * 赠款总金额
	 */
	@Excel(name = "赠款总金额")
	private BigDecimal grant;
	
	/**
	 * 返货总金额
	 */
	@Excel(name = "返货总金额")
	private BigDecimal returnGoods;
	
	/**
	 * 交易流水号
	 */
	@Excel(name = "交易流水号")
	private Long transactionSeq;
	
	/**
	 * 付款方
	 */
	@Excel(name = "付款方")
	private Integer remitter;
	
	/**
	 * 收款方
	 */
	@Excel(name = "收款方")
	private Integer payee;
	
	/**
	 * 返点
	 */
	@Excel(name = "返点")
	private BigDecimal dealbase;
	
	/**
	 * 流水产生时间
	 */
	@Excel(name = "流水产生时间")
	private Date createTime;
	
	/**
	 * 创建人
	 */
	@Excel(name = "创建人")
	private String createUser;
	
	/**
	 * 更新时间
	 */
	@Excel(name = "更新时间")
	private Date updateTime;
	
	/**
	 * 更新人
	 */
	@Excel(name = "更新人")
	private String updateUser;
	
		public void setAdvertiserId(Integer advertiserId) {
		this.advertiserId = advertiserId;
	}

	public Integer getAdvertiserId()	{
		return advertiserId;
	}
		public void setTransactionType(String transactionType) {
		this.transactionType = transactionType;
	}

	public String getTransactionType()	{
		return transactionType;
	}
		public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getAmount()	{
		return amount;
	}
		public void setFrozen(BigDecimal frozen) {
		this.frozen = frozen;
	}

	public BigDecimal getFrozen()	{
		return frozen;
	}
		public void setCash(BigDecimal cash) {
		this.cash = cash;
	}

	public BigDecimal getCash()	{
		return cash;
	}
		public void setGrant(BigDecimal grant) {
		this.grant = grant;
	}

	public BigDecimal getGrant()	{
		return grant;
	}
		public void setReturnGoods(BigDecimal returnGoods) {
		this.returnGoods = returnGoods;
	}

	public BigDecimal getReturnGoods()	{
		return returnGoods;
	}
		public void setTransactionSeq(Long transactionSeq) {
		this.transactionSeq = transactionSeq;
	}

	public Long getTransactionSeq()	{
		return transactionSeq;
	}
		public void setRemitter(Integer remitter) {
		this.remitter = remitter;
	}

	public Integer getRemitter()	{
		return remitter;
	}
		public void setPayee(Integer payee) {
		this.payee = payee;
	}

	public Integer getPayee()	{
		return payee;
	}
		public void setDealbase(BigDecimal dealbase) {
		this.dealbase = dealbase;
	}

	public BigDecimal getDealbase()	{
		return dealbase;
	}
		public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateTime()	{
		return createTime;
	}
		public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateUser()	{
		return createUser;
	}
		public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getUpdateTime()	{
		return updateTime;
	}
		public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getUpdateUser()	{
		return updateUser;
	}
	
	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
						.append("advertiserId" ,getAdvertiserId())
						.append("transactionType" ,getTransactionType())
						.append("amount" ,getAmount())
						.append("frozen" ,getFrozen())
						.append("cash" ,getCash())
						.append("grant" ,getGrant())
						.append("returnGoods" ,getReturnGoods())
						.append("transactionSeq" ,getTransactionSeq())
						.append("remitter" ,getRemitter())
						.append("payee" ,getPayee())
						.append("dealbase" ,getDealbase())
						.append("createTime" ,getCreateTime())
						.append("createUser" ,getCreateUser())
						.append("updateTime" ,getUpdateTime())
						.append("updateUser" ,getUpdateUser())
				.toString();
	}
}
